package com.chixing.service;

import com.chixing.entity.Refund;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.util.Result;

import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liwenjing
 * @since 2025-10-07
 */
public interface IRefundService extends IService<Refund> {
    /**
     * 处理退票业务
     * @param orderId 订单ID
     * @param userId 用户ID
     * @return 退票结果
     */
    Result handleRefund(Integer orderId, Integer userId) throws IOException;

}